package com.esfak47.mediafetcher.core.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author tony
 */
@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Media implements Serializable {

    private String id;

    private List<String> tags;

    private String url;

    private String title;

    private String thumbnail;

    private List<String> categories;

    private Boolean hd;

    private Integer duration;

    private String webpageUrl;

    private String fullTitle;

    private Integer formatId;

    private Integer commentCount;

    private List<String> thumbnails;

    private String ext;

    private String extractorKey;

    private Integer viewCount;

    private Integer rating;
    private String fileName;

}
